package com.aloda.constant;

public class ExceptionConstant {

    /**
     * 权限异常错误码
     */
    public static final int AUTH_ERROR_CODE = 40001;

    public static final String LOGIN_ERROR = "用户名或密码错误";
    public static final String ACCOUNT_BANNED = "该账号被禁用";

    public static final String EMAIL_IS_REGISTERED = "邮箱已注册";
    public static final String PASSWORD_ERROR = "密码格式错误";
    public static final String EMAIL_ERROR = "邮箱格式错误";
    public static final String NAME_ERROR = "名称格式错误";

    public static final String EDIT_ERROR = "该图书暂时无法编辑";
    public static final String BORROW_ERROR = "该图书暂时无法借阅";
    public static final String RETURN_ERROR = "该图书暂时无法归还";
    public static final String CONFIRM_ERROR = "确认异常";

    public static final String SYSTEM_EXCEPTION = "系统异常";
    public static final String AUTH_EXCEPTION = "权限异常";
    public static final String EDIT_ADMIN_ERROR = "该管理员无法进行修改操作";
}
